﻿using Abp.Application.Services;
using Sunlit.Business.Policies.Dto;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Sunlit.Business.Policies
{
    public interface IPolicyCateAppService: IAsyncCrudAppService<PolicyCateDto,
        int,GetAllPolicyCateInput,CreatePolicyCateInput,UpdatePolicyCateInput>
    {
        /// <summary>
        /// 获取所有类别
        /// </summary>
        /// <returns></returns>
        Task<List<PolicyCateDto>> GetAllList();
        /// <summary>
        /// 获取首页显示的所有类别
        /// </summary>
        /// <returns></returns>
        Task<List<PolicyCateDto>> GetAllOnHomeList();
    }
}
